package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Author WEN
 * @Date 2023/9/1 0001
 **/
@Data
@ApiModel("故障附件、故障解决方案对象")
public class FaultAnnexVo {
    @ApiModelProperty(value = "主健ID")
    private Long id;

    @Length(max = 300, message = "单个附件路径限制 300 个字符以内")
    @ApiModelProperty(value = "附件路径")
    private String path;

    public FaultAnnexVo() {
    }

    public FaultAnnexVo(Long id, String path) {
        this.id = id;
        this.path = path;
    }
}
